package com.petsdar.dao;

import com.petsdar.pojo.Account;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA
 * User: heroC
 * Date: 2020/6/27
 * Time: 18:55
 * Description: 账户相关持久化层处理
 * Version: V1.0
 */

@Repository
public interface AccountMapper {
    /**
     * 登录用户查询，返回查询结果
     * @param account 账户
     * @return
     */
    int login(Account account);

    /**
     * 更新account表的数据
     * @param account account对象
     * @return
     */
    int updateAccount(Account account);
}
